//
//  YDBuyStrategyCell.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/15.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDBuyStrategyCell;

@protocol SYBuyStrategyCellDelegate <NSObject>

@optional

/**
 点击了标签注释
 */
-(void)buyStrategyCellQuestionImageClick:(YDBuyStrategyCell *)cell;

/**
点击了开关
 */
- (void)swicthDidSwitch:(UISwitch *)swich;

@end

@interface YDBuyStrategyCell : UITableViewCell
//类别
@property (nonatomic , weak) UILabel *cateLabel;
//箭头
@property (nonatomic , weak) UIImageView *accImage;
//detail
@property (nonatomic , weak) UILabel *detailLabel;
//问好图片
@property (nonatomic , weak) UIImageView *questionImage;
/**
 是否开启递延开关
 */
@property (nonatomic, strong)UISwitch *autoSwitch;


+ (instancetype)cellWithTableView:(UITableView *)tableView;

@property (nonatomic , weak)id<SYBuyStrategyCellDelegate>delegate;
@end
